package demo.demo1;

public class CoffeeStore {
    public static void main(String[] args) {
        SimpleFactory simpleFactory=new SimpleFactory();
        Coffee coffee = simpleFactory.createCoffee("1");
        System.out.println(coffee.getName());
        coffee.addMilk();
        coffee.addSugar();
    }
}
